Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dask_cudf metadata-inference when first ORC path is empty #8021

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

rjzamora
Copy link
Member

Closes #8011

Dask-cuDF currently reads a single stripe to infer metadata in read_orc. When the first path corresponds to an empty file, there is no stripe "0" to read. This PR includes a simple fix (and test coverage).

@rjzamora rjzamora added bug Something isn't working dask Dask issue 4 - Needs Dask Reviewer non-breaking Non-breaking change labels Apr 21, 2021
@rjzamora rjzamora self-assigned this Apr 21, 2021
@rjzamora rjzamora requested a review from a team as a code owner April 21, 2021 18:54
@github-actions github-actions bot added the Python Affects Python cuDF API. label Apr 21, 2021
@galipremsagar
Copy link
Contributor

rerun tests

@kkraus14 kkraus14 added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 4 - Needs Dask Reviewer labels Apr 21, 2021
@kkraus14
Copy link
Collaborator

@gpucibot merge

@codecov
Copy link

codecov bot commented Apr 22, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-0.20@348ad4d). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##             branch-0.20    #8021   +/-   ##
==============================================
  Coverage               ?   82.95%           
==============================================
  Files                  ?      103           
  Lines                  ?    17722           
  Branches               ?        0           
==============================================
  Hits                   ?    14701           
  Misses                 ?     3021           
  Partials               ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 348ad4d...b1c1533. Read the comment docs.

@rapids-bot rapids-bot bot merged commit dcebfe7 into rapidsai:branch-0.20 Apr 22, 2021
@rjzamora rjzamora deleted the empty-orc-fix branch April 22, 2021 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working dask Dask issue non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] dask-cudf fails to read ORC files created by Spark
3 participants